package com.yalemang.mvp

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity

abstract class BaseMvpActivity<P:BasePresenter<*,*>>:AppCompatActivity(),BaseView {
    lateinit var mPresenter: P

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        attachMvp()
    }

    abstract fun attachMvp()
}